﻿

namespace Mulala.Cavan.Domain.MainBoundedContext.SearchModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class NoteReceiverSearchFactory
    {
        public static NoteReceiverSearch CreateNoteReceiverSearch(int noteID, int receiverID)
        {
            NoteReceiverSearch search = new NoteReceiverSearch();
            search.NoteID = noteID;
            search.ReceiverID = receiverID;

            return search;
        }

        public static NoteReceiverSearch CreateNoteReceiverSearch(int receiverID)
        {
            NoteReceiverSearch search = new NoteReceiverSearch();
            search.ReceiverID = receiverID;

            return search;
        }

        public static NoteReceiverSearch CreateNoteReceiverSearch(int receiverID, bool isNew)
        {
            NoteReceiverSearch search = new NoteReceiverSearch();
            search.ReceiverID = receiverID;
            search.IsNew = isNew;

            return search;
        }
    }
}
